package cn.com.xiaoshoujia.activities.service;

import cn.com.xiaoshoujia.activities.dto.*;
import cn.com.xiaoshoujia.activities.entity.Activity;
import cn.com.xiaoshoujia.activities.vo.ActivityDetailSiteVO;
import cn.com.xiaoshoujia.activities.vo.ActivitySiteVO;
import cn.com.xiaoshoujia.user.entity.ActivityTeamHead;
import cn.com.xiaoshoujia.utils.QueryResult;

import java.util.List;

public interface ActivitiesService {
    boolean saveTeamActivity(ActivitySiteDTO activitySiteDTO);

    QueryResult findByPage(ActivitySiteVO activitySiteVO);

    boolean updateStatus(Activity activity);

    boolean delete(Activity activity);

    boolean update(Long id, ActivitySiteDTO activitySiteDTO);

    ActivityDetailSiteVO findById(Long id);

    List<ActivityDTO> listTeam(String xcode, Long id);

    Activity findWxStatusById(Long id);

    ActivityWxTeamMsgDTO findWxActivityMsg(Long id);

    ActivityOperationJsonDTO findOperaionJson(Long id, Long headId);

    ActivityWxActivityMsgDTO findTeamAndHead(Long id, Long headId);

    ActivityTeamHead findWxHeadById(Long headId);

    ActivitySuccessDTO findSuccessMsg(Long id, Long headId);
}
